package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 亲社会行为对象 tb_activity
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
public class TbActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** id */
    @Excel(name = "id")
    private Long organizerId;

    /**  */
    @Excel(name = "")
    private String images;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 副标题 */
    @Excel(name = "副标题")
    private String subTitle;

    /** 活动介绍 */
    @Excel(name = "活动介绍")
    private String description;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Integer type;

    /** 1,上架; 2,下架; 3,过期 */
    @Excel(name = "1,上架; 2,下架; 3,过期")
    private Integer status;

    /** 亲社会行为详情信息 */
    private List<TbActivityInfo> tbActivityInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrganizerId(Long organizerId) 
    {
        this.organizerId = organizerId;
    }

    public Long getOrganizerId() 
    {
        return organizerId;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setSubTitle(String subTitle) 
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle() 
    {
        return subTitle;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public List<TbActivityInfo> getTbActivityInfoList()
    {
        return tbActivityInfoList;
    }

    public void setTbActivityInfoList(List<TbActivityInfo> tbActivityInfoList)
    {
        this.tbActivityInfoList = tbActivityInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("organizerId", getOrganizerId())
            .append("images", getImages())
            .append("title", getTitle())
            .append("subTitle", getSubTitle())
            .append("description", getDescription())
            .append("type", getType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tbActivityInfoList", getTbActivityInfoList())
            .toString();
    }
}
